package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author BLNYZYKER
* @description 针对表【user_info(用户详细信息表)】的数据库操作Service
* @createDate 2025-09-09 10:11:21
*/
public interface UserInfoService extends IService<UserInfo> {
    UserInfo getUserInfoById(Long id);
    UserInfo getUserInfoByUserId(Long userId);
    int addUserInfo(UserInfo userInfo);
    int updateUserInfo(UserInfo userInfo);
    int deleteUserInfo(Long id);
    List<UserInfo> getAll(UserInfo userInfo);
    IPage<UserInfo> getPage(UserInfo userInfo, IPage page);
}
